import 'package:fluttertoast/fluttertoast.dart';

///自定义toast通知
class YqbToast {
  static Future<bool?> show(String msg) {
  return  Fluttertoast.showToast(msg: msg,gravity: ToastGravity.CENTER);
  }

  static Future<bool?> cancel(String msg) {
   return Fluttertoast.cancel();
  }
}